what are the differences betweem three types of rocks​