Create stack.cpp

stack using linked list and array