Change 'p' to 'puts'. Fix errors preventing programming from running

I changed all the 'p' keywords to 'puts'. 'p' is for debugging only while 'puts' is for console output.

The program wasn't running in its current state. I made the changes needed to get it to work.

Rspec in next pull request.