Working LegoBrick class