finished the addR and multR functions