For simplicity, we give up using eclipse to perform the exercise and use command line instead