Solution for Dutch NLJUG Java Magazine Code Challenge 2014-06 "Prime Snake"