two easy codeval problems (i did one yesterday but didnt commit)