msc coding challenge solutions