Added function to generate balmer lines