implemented insert and extract min, hopefully it works!