004 Uppgift 5

Not fully buggtested but it is in workable condition.