Thanks Robin, yes I understand resetting the Arduino is not the best way to go about things.
Specifically if I intend to keep track of steps right?
At this point I am not going to bother keeping track of steps, it is a bit beyond me.
I admit I have swayed from Henry's suggestion, I am just trying to keep this is the realm of my understanding and skill level with coding this.
If I knew how to code this in the fashion of yours and Henry's logic, I would absolutely do so.
I'll get better I promise
Your approach of just stringing a load of functions together won't get you any better, despite your promises. You have to first work out a logical sequence of what you want to happen and when. You can't ignore that step, even on the simplest of programs.
Imagine the task of boiling an egg. Here are the steps you need.
Find source of heat
Find source of water
Find dessert spoon
Find egg cup
Find egg timer or timepiece (clock, watch, mobile phone, etc).
Put water in pan
Place pan over heatsource
Light/turn on heatsource
Wait until water boils
Place egg on dessert spoon and lower gently into boiling water.
Start egg timer or note start time on timepiece.
Keep watching timepiece/egg timer to see if 3 minutes has elapsed.
When 3 minutes has elapsed
Turn off heat source
Remove pan from heat source
Use dessert spoon to remove egg from the water
Place egg in egg cup
Place egg cup and teaspoon on plate
If you can do that for your program you're half way to having your program written.