Added a new function dedicated to grabbing equations from the stream

Signed-off-by: shrimpboyho <new.joseph10@gmail.com>