Master Thesis: Compiler-directed Deforestation in BEAM | Ericsson