Staircase Ascent - Coding problem | OneNoughtOne