add create method, add private post_params method, made show file, created show method, add Post.all to index method,changed view to show posts