Solved task 0
Solved task 1 with only one method