FHDW students exercise: writing a text analysing tool in Java