create UI functionality for user

create UI functionality for user.  User can select cells and cells will swap if a series of triples is created.  An alert error will pop up if no triples will be created from the swap. working version