fixed memory leak
fixed valgrind errors and mem leaks
fixed parsing bug
updated README.md
did cp
Merge pull request #1 from yli082/master

did cp
Added optional parameters
Merge pull request #2 from yli082/master

Added optional parameters
updated cp
Merge pull request #3 from yli082/master

updated cp
update
Merge pull request #4 from yli082/master

update
merged Makefile