Create stackimplementation.cpp

I/O for input and output of stack and queue