Implement right associativity for the `^` and `..` operators

Thanks to @oxyc for reporting the issue and suggesting this fix. Closes #5.