solution to problem 1
update solution 1
fix last commit
solution to problem 2
solution to problem 3