> 1This has nothing to do with reviewing code. Nothing whatsoever.
1I'm voting to close this question as off-topic because you're not looking for a code review and just an alternative solution on a black-box level ("gimme the better codes").
1I'm voting to close this question as off-topic because this isn't a code review. This *might* be more at home on the Programmers SE, but considering the nature of the question I doubt it is. In any case, always check a StackExchange's [Help](http://codereview.stackexchange.com/help/how-to-ask) and [follow its Tour](http://codereview.stackexchange.com/t…