FPGA accelerator architecture for Q-learning and its applications in space exploration rovers