Pass integer arguments to Snake class