1) Added safeInput function
1) Removed Peg constructor None
Program now validates input