Useful part of my checkio.org tasks solutions