A library for astronomical simulation and calculation in ruby