Appropriate uses of size_t and added .gitignore