The family of three had been living in a luxury apartment on the 36th floor of the 45-storey building at Elephant and Castle, south London .