Added Ruby, solved problem 1, fixed () usage in if on python side
Added problem2 to Ruby, commented documentation line out in python