Crumble beef into large fry pan. Add onion and salt, and cook until browned. Drain off excess fat. Add soup, green beans and pepper. Simmer for 5 minutes. Pour into a greased 2 quart casserole. Spread mashed potatoes over the top. Sprinkle with cheese. Bake at 350 degrees for 20 minutes.