ADDED SOME CONSTANTS AND REMOVED HARDCODING
implemented bear on and off
ditto
implemented catching invalid input
implemented a fake double