Planning using Deep Neural Nets