Simple Java Command Line Calculator