Cellular automata approach to integer factorisation