simple example of moving average forecast on android