Made EmptySquare and abstract class, implemented abstract functions in child classes