add git ignore list and add eclipse's project file to it
remove not needed, trailing whitespace
change the way first character is extracted from file name