Added a method to get a unit's space. Deleted the function to add a space to a unit so as not to cause confusion with the space adding a unit.