added: orientation generator,  edited the search.

the puzzle.c file now stores the array in the same way as ben's
orientations.c