Added .gitignore and removed build directory

It is a good practice to not keep any build files in the repository.