Added implementation of stack by using arrays. Ported a python utility script to Python3