Added size method to Stack and Queue.