Stack Implementation In Java Without Using Collections