Please post what you have tried based on my description of how the program could work. Be explicit about explaining what you are trying to do with various parts of the program. Also identify as clearly as possible the areas where you are still having problems.
"im really stuck at that level." This is not specific and tells us nothing about what you do not understand. Say something like "I tried to decrement the number of steps remaining, but it incremented."
Lynn