Insert function fixed. Perculate Fixed