Renamed source files to lower case. Fixed swap function.