my solutions for checkio.org