Update Image.scala

fixed assert
Merge pull request #6 from ggmoriyon/patch-1

assert was missing a parenthesis, causing Boxed Error