Robot dog built from LEGO, Arduino and Raspberry PI