C Implementation

Added on 25th November 2014