CAT(0) spaces and their boundaries