Basic Floor Planning and some Building Codes