(feat) Complete problem 1 in python, complete problems 4 and 5 in js