Added a solution for prototype based multiple inheritance. This does not take circular inheritance into consideration.