An area calculator to run in the console of a Java IDE