add check_beam.py into src. With a beam file and a precision, it returns the minimum nside that can reach the desired precision.