committing my homework after lesson 03

@slead though Integer() handles value errors the use of value.to_i is more conventional in Ruby