Add solution for UVA problem 10055 Hashmat