Fixed Java Simple Program