Adds implementation of a stack including tests