Solutions for CodinGame challenges