updated progress and rpn calculator in Ruby