what are the 3 kinds of rocks