Solutions in python for questions on the online judge in leetcode.com