Removed unneeded old code
Added some comments to step_execution
Switched to using functions to check if character is valid