based on the rust example program, with a few changes:
- removed some println!s that stated the obvious
- added the amount of tries it took you to do something
- added a lose function if it took you more than 10 tries to guess the number.
- added ansi color