using the strtoupper command to make uppercase user input is a pragmatic way of making the input part of the user IO and UX user-proof
foreach item as key associate to key. Then set key2 variable to key plus 1