Simple (not necessary the best) solutions for simple programming problems