implemented mouse follow and rotate as per homework for this week.