created LegoBrick class in own js file
LegoBrick constructor now takes object instead of individual values
bricks closer to being in correct position