first compile attempt, still with errors, testing pseudo random numbers