Implement 3 stack in 1 array