Added more primitive implementations on array and boolean

Signed-off-by: Stefan Marr <git@stefan-marr.de>