To Run use terminal/cmd promt

use:
java Main

to exit use:
CTRL + C