PreOrder fixed.
Hashing function is stepping out of bounds

Over the max limit for array size? can we have 27 * n ?