Three axis gun drilling machine for cubic workpiece