completes first homework assignment