add jump game m7 in python