Basic console app, programmed in Java