A simple implementation of integer factorization on CUDA