solved the first portion of fibonacci's sequence, still need to optimize this