Finish the implementation of enqueue and dequeue

Add complete codes to enqueue and dequeue. And add
Makefile to make building up easily.
remove swp file

Due to unfamiliar with git, always commit swp files.
add .gitignore file