refactor to use square struct instead of chars for more useablilty later on.