Started task 13
Added methods to solve the three tasks