Solved 4 - 7. Problems 8 and 9 are not done. Would be awesome to optimise 7 more