More in depth initial code

I went to office hours and made an easier to read version of code as
well as understand better how my code is working.