Make getraenkeAutomat object

Also remove nasty whitespaces and typos :-)