updated constructor, got rid of extraneous add functions, helper method for testing if space is blank