changed package structure as per the codility lessons

changed package structure as per the codility lessons