In progress java implementation of a handwriting recogniser