Added case to check if the user enters in a file name with just a period instead of the .java extension
Added gitignore file to ignore the z program