commented methods
added select/unselect methods for boxes
added helper method for determining box color/type
merged