[hard] string permutations - php
[easy] penultimate word - lua
[easy] penultimate word - php
[easy] penultimate word - perl