first try to make class method for output

I made output a class method.
How to call it in main.rb ???

Also I noticed my find_bonus methods somehow have a bug, all values used for calculating the bonus become overwritten with nil (in intialize it is correct)