Types of Black Holes and how they are formed accordingly