Combine potatoes, onions and bread pieces into large casserole dish. Salt and pepper to taste. Melt margarine and cheese together. Pour over mixture. Bake at 350 degrees, 45 minutes or until bubbly, hot, and brown.