Implementation of stack v1
graph implementation using Adjacency Matrix Part 1