Refactored computer.rb - separated out certain iterations into procs