Formatting fixed
Solution to the task 1 in scala