move Floyd code into its folder