added solution for multiples puzzle