Numerical library for dynamical billiards