well, it seems the problem a little difficult because of computer language, however, you could still get some tools on google search, xFlip is such one versatile tool that is invaluable to be great...