improve main loop; removed extra jmps and add function to uppcase y/n input