Sony coding challenge