My practice code to BIO 2014 Q1(a) -- first push