pdated @spaces in initialize, edited method names, added space invalid argument error option in set_space, defined a space_invalid? method