Adding puzzle method in order to initialize the solution