Added 1G5

Added solution for 1G5
thx to Charlie for helping out!