Finally! A working homework assignment.