Done programming challenge from ch06. Measurements are not included yet.