Implements scan functionality in main.c
Adds Makefile to project
Adds .gitignore for build products