testing my skills on algorythms desing