Reviewed code for assignment 3 to find good coding and bad coding