Prog 5: Vexed Graphics

Again write a program to implement the game of Vexed, except this time using graphics.  Running your program within Codio should look what is shown below.  Your input into the program is given via the terminal, resulting in the graphical output shown at right in the diagram below.  Moves should be made by selecting a square number and then 'l' to move left one square, or 'r' to move right one square.  Within Codio look at the guide to see instructions on how to run the solution. 

 Note that substantial code is given to you in main().  The code supplied to you already creates the board and displays it.  You have to implement the part of the program that allows making moves.  The Codio guide also describes how execution points will be assigned for this program.