Updated for unit testing (added mutators and accessors)
implemented equals method in LinearVector and in Shape objects