Added python solution to problem 1
Added python solution to problem 2