An organism that gets energy from eating dead organisms, nonliving materials or waste is a