added command line entry
Added exception handling for non integers, asked a question about it