A Genetic Algorithm for VLSI Floorplanning