Code submission for 2014 BT graduate assessment centre