Code for the MS coding comp 2014