Stacks and Queues - Fun with javascript array's - http://flippinawesome.org/2013/11/25/fun-with-javascript-native-array-functions