three stack using one array with Unit tests