add python solution of q013
add python solution of q012