Algo Design Lab sample code.