Simple program that prints a customizable horizontal line