Updated LegoComponent to use Google style docstrings. Modified __str__ and __repr__ to be more consistent with typical conventions