now prints Up and Down depending on what number was entered