Simple Java Program Input Output Interface