Got Lexographical permutation running smoothly. Added filename input from cmd line. Added Makefile to build and clean the program. make debug also works with gdb.
added gitignore to make sure object files and executables remain out of system.