some codility tests, more to add