Create src

implement a stack using inheritance