added flip puzzle method + buttons to generate / solve puzzle