created posts controller, add posts route, added index view, added new view,added form to new post,created rails model for post