Ported from C to C++
Updated the gitignore to include the binaries directory
Left the depend file in because that seems useful.