finished guarav's challenge, still need to finish heap challenge