Add a .gitignore file
Implement display num which displays a number to the correct number of significant figures