algs4; alter the layout