Implemented some more branch statements
ToDo: Find a way to implement code that modifies the stack inside the functions, it should not be executed until the function is called