Homework assignment for JS Control Flow