DISH Interview Question

JUnit, implement stack