Perl6 Neural Network Implementation