Better scanner for the java calculator example

I rewrote the MyScanner class to use regular expressions for the scanning just like the setlx version. The patterns were direktly taken from the setlx version of the example. There are multiple slightly different copies of the scanner in the repository, I changed the only one we used for the exercise in class.