Change layout - show categories and posts

Like this:

Category1
post1 of category1
post2 of category1
Category2
post1 of category2
post2 of category2