A shower stall must be a minimum of 30" square (and unless you are a child you will find this very restricting). A toilet needs a minimum of 15" either side of center. I think there's a minimum distance in front, too, but I don't know it. Most places want 24" in front of the sink, but that varies. You really need to check your local inspector, as that's what counts.