basic implementation of stack
basic implementation of bucket sort