Implemented solutions for w1 and w5 in Python. Added IDEA project file.