added Java version of calculator exercise