altschool coding challenge solution