Optimization of 1D and 2D Cellular Automata for Pseudo Random Number Generator