For example I have a char variable direction that can have values such as "R", "U", "L", "D", how do I generate random v
direction