Added code to print lines as well as reverse video with percentage