all tasks solved
TODO: task 8 bug for numbers between 10 and 20