Added more vars, casting and comments

Wasn’t fully happy with my code from last night. Created a few more
variables.  Applied casting to the user entered amount of tasks. Made
sure to comment each line of code.