First attempt Homework3