Solution for lecture 2 without spaces