add solution for An Array Simulating Three Stacks in Cracking the Code Interview Chapter 3 and problem 1