Hoang Giang's Beagle Board homework, run verified on Raspberry Pi