Created proper hierarchy, and added random grid generation, Alphabet class