bowling kata using java map reduce