A Scalable FPGA Design for Cloud N-Body Simulation