Updates per reddit message.  Also, removed the / operator from lines 16 and 17 (can't divide subroutines since they don't return anything, they only modify what you pass into them)