Homework3 for CITA 180