First C-based implemetation. Requires Visual Studio.