Basic Java Programming Excercises