NEW: solved assignment 3 -> it's blazingly fast! ;-)